package com.huike.web.controller.codePreload;

import com.huike.clues.service.ITbActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class ActivityCodePreLoad implements CommandLineRunner {

    @Autowired
    ITbActivityService iTbActivityService;
    @Override
    public void run(String... args) throws Exception {
        iTbActivityService.loadAllActivityCode();
    }
}
